.eformDataGrid {
  display: flex;
  flex-direction: column;
  height: 100%;
  .searchBox {
    z-index: 1;
    padding: 10px 12px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .content {
    flex: 1;
    padding: 0 12px;
    overflow: auto;
  }
  .total {
    margin: 15px 0 8px;
    color: #999;
    font-size: 12px;
    & + div {
      // .itemBox 的第一个margin为0
      margin-top: 0;
    }
  }
  .adm-swipe-action {
    margin: 20px 0;
    background-color: #fafafa;
    .adm-swipe-action-action-button:last-child {
      border-radius: var(--radiusStyle);
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
  }
  .itemBox {
    padding: 15px 12px 0;
    &.card {
      // border-radius: 6px;
      background-color: #fff;
      // box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.08);
    }
    ul {
      padding: 0;
    }
    li {
      color: #333;
      font-size: 16px;
      line-height: 22px;
      word-break: break-all;
      list-style: none;
      &:nth-child(even) {
        margin-bottom: 16px;
        color: #666;
      }
      .goChildDetail {
        padding: 0;
      }
    }
    .adm-empty {
      align-items: flex-start;
      height: 22px;
      margin-top: 5px;
      padding: 0;
      .adm-empty-image-container {
        justify-content: flex-start;
        height: 100%;
      }
    }
    .detail {
      position: relative;
      height: 40px;
      color: #999;
      font-size: 12px;
      line-height: 40px;
      border-top: 1px solid #eee;
      &::after {
        position: absolute;
        top: 50%;
        right: 0;
        width: 6px;
        height: 6px;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ccc;
        transform: translateY(-50%) rotate(-45deg);
        content: '';
      }
    }
  }
  .addButton {
    z-index: 10;
    width: 60px;
    height: 60px;
    background-color: var(--inbiz-color-primary);
    border-radius: 30px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
    user-select: none;
    & > svg {
      position: absolute;
      top: 50%;
      left: 50%;
      color: #fff;
      font-size: 20px;
      transform: translate(-50%, -50%);
    }
  }
  .childDetails {
    display: flex;
    flex-direction: column;
    height: 100%;
    .childDetailContent {
      flex: 1;
      padding: 0 12px;
      overflow: auto;
      .itemBox {
        margin-bottom: 20px;
        padding-bottom: 12px;
        color: #fff;
      }
    }
  }
}
.adm-dialog-body .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button-bold {
  font-weight: 400;
}
// 修复移动化高度百分百比异常问题
.wap.TableContainer {
  .ant-formily-item-control,
  .ant-formily-item-control-content {
    height: 100%;
  }
  &.ant-formily-item-layout-vertical .ant-formily-item-label + .ant-formily-item-control {
    height: calc(100% - 25.5px);
  }
}
